using System;
using System.Collections.Generic;
using System.Text;

namespace MM.Entities
{
    public class CHI_TIET_PNH
    {
        protected int _id;
        protected float _soLuong=0;
        protected int _maChiTietPDH;
        protected int _tinhTrang;
        protected string _maPhieuNhapHang = String.Empty;
        protected string _maPhieuHuyNhapHang = String.Empty;
        protected string _maKho = String.Empty;
        protected TRANG_THAI_VTPT oTT = new TRANG_THAI_VTPT();
        protected KHO oKh = new KHO();
        

        protected string _maVTPT = "";
        protected string _tenVTPT = "";
        protected int _maTrangThai = 0;
        protected string _tenTrangThai = "";
        protected string _maNhaSanXuat = "";

        protected DateTime _ngayNhap;
        protected DateTime? _ngayHuyNhapHang;
        protected string _nguoiNhap = String.Empty;
        protected int _POItem_No = 0;
        protected string _accAssignment = "";
        protected string _maTaiSan = "";
        protected string _POThamChieuSAP = "";
        protected int _maPhieuIn = 0;
        protected float _soLuongPO=0;
        protected float _soLuongPOCon = 0;

        public CHI_TIET_PNH()
        {
        }

       

        #region Public Properties
        public int MaChiTiet
        {
            get { return _id; }
            set { _id = value; }
        }

        public float SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }

        public int MaChiTietPDH
        {
            get { return _maChiTietPDH; }
            set { _maChiTietPDH = value; }
        }

        public int TinhTrang
        {
            get { return _tinhTrang; }
            set { _tinhTrang = value; }
        }

        public string MaPhieuNhapHang
        {
            get { return _maPhieuNhapHang; }
            set { _maPhieuNhapHang = value; }
        }

        public string MaPhieuHuyNhapHang
        {
            get { return _maPhieuHuyNhapHang; }
            set { _maPhieuHuyNhapHang = value; }
        }

        public string MaKho
        {
            get { return _maKho; }
            set { _maKho = value; }
        }

        public string MaVTPT
        {
            get { return _maVTPT; }
            set { _maVTPT = value; }
        }

        public string TenVTPT
        {
            get { return _tenVTPT; }
            set { _tenVTPT = value; }
        }

        public int MaTrangThai
        {
            get { return _maTrangThai; }
            set { _maTrangThai = value; }
        }

        public string TenTrangThai
        {
            get { return _tenTrangThai; }
            set { _tenTrangThai = value; }
        }

        public DateTime NgayNhap
        {
            get { return _ngayNhap; }
            set { _ngayNhap = value; }
        }

        public DateTime? NgayHuyNhapHang
        {
            get { return _ngayHuyNhapHang; }
            set { _ngayHuyNhapHang = value; }
        }

        public string NguoiNhap
        {
            get { return _nguoiNhap; }
            set { _nguoiNhap = value; }
        }

        public TRANG_THAI_VTPT oTRANG_THAI_VTPT
        {
            get { return oTT; }
            set { oTT = value; }
        }

        public KHO oKHO
        {
            get { return oKh; }
            set { oKh = value; }
        }

        public int POItem_No
        {
            get { return _POItem_No; }
            set { _POItem_No = value; }
        }

        public string AccAssignment
        {
            get { return _accAssignment; }
            set { _accAssignment = value; }
        }

        public string MaTaiSan
        {
            get { return _maTaiSan; }
            set { _maTaiSan = value; }
        }

        public string POThamChieuSAP
        {
            get { return _POThamChieuSAP; }
            set { _POThamChieuSAP = value; }
        }

        public int MaPhieuIn
        {
            get { return _maPhieuIn; }
            set { _maPhieuIn = value; }
        }

        public float SoLuongPO
        {
            get { return _soLuongPO; }
            set { _soLuongPO = value; }
        }

        public string MaNhaSanXuat
        {
            get { return _maNhaSanXuat; }
            set { _maNhaSanXuat = value; }
        }

        public float SoLuongPOCon
        {
            get { return _soLuongPOCon; }
            set { _soLuongPOCon = value; }
        }
        #endregion
    }
}
